#ifndef TWITTER_TWITTERPLUGIN_H
#define TWITTER_TWITTERPLUGIN_H

#include "twcore/IPlugin.h"
#include <QList>
namespace Twitter
{
	class TwitterContext;
	class TwitterPlugin : public TWCore::IPlugin
	{
		public:
			TwitterPlugin();
			virtual ~TwitterPlugin();

			void initialize();
			bool getConfigWidget( QList<TWCore::IConfigWidget*>& );

			TWCore::IContext* createNewContext();
			TWCore::IContext* createContext( const QByteArray& info );
			void deleteContext( TWCore::IContext* context );
			void unloadContext( TWCore::IContext* context );
		private:
			QList<TWCore::IContext*>	m_contexts;
	};
}
#endif // TWITTER_TWITTERPLUGIN_H
